package JavaBasic2_20200415;

import java.util.Scanner;

public class ZhengShuJiSuan6 {
	// 6:输入两个整数，计算他们加减乘除余的结果
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		System.out.println("请输入第一个整数：");
		int a = in.nextInt();
		System.out.println("请输入第二个整数：");
		int b = in.nextInt();

		System.out.println(a + "+" + b + "=" + (a + b));
		System.out.println(a + "-" + b + "=" + (a - b));
		System.out.println(a + "*" + b + "=" + (a * b));
		System.out.println(a + "/+" + b + "=" + (a / b) + "--" + (a % b));

	}

}
